package com.cryptape.cita_wallet.util;

/**
 * Created by dengming on 3/3/20.
 */

public class RxAndroidUtils {

//    public static <T> Subscription
//    createObservable(Observable.OnSubscribe<T> onSubscribe, Subscriber<T> subscriber, Action0 action0) {
//        return Observable.create(onSubscribe)
//                .subscribeOn(Schedulers.newThread()).doOnSubscribe(action0).subscribeOn(AndroidSchedulers.mainThread())
//                .observeOn(AndroidSchedulers.mainThread()).subscribe(subscriber);
//    }

}
